package com.jxdinfo.hussar.example.mes.assess.domain;

import java.math.BigDecimal;

import com.jxdinfo.hussar.example.common.annotation.Excel;
import com.jxdinfo.hussar.example.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 成本统计管理对象 mes_assess_cost_record
 *
 * @author ruoyi
 * @date 2024-04-16
 */
public class MesAssessCostRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属车间id */
    @Excel(name = "所属车间id")
    private Long workshopId;

    /** 月份 */
    @Excel(name = "月份")
    private String costMonth;

    /** 当月的总工资和 */
    @Excel(name = "当月的总工资和")
    private BigDecimal monthTotalSalary;

    /** 人工成本 */
    @Excel(name = "人工成本")
    private BigDecimal artificialCost;

    /** 福利费用 */
    @Excel(name = "福利费用")
    private BigDecimal welfare;

    /** 劳务派遣 */
    @Excel(name = "劳务派遣")
    private BigDecimal laborDispatch;

    /** 折旧费用 */
    @Excel(name = "折旧费用")
    private BigDecimal depreciationExpense;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String attr1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String attr2;

    /** 是否启用 */
    @Excel(name = "是否启用")
    private String enableFlag;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private String deletedFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setWorkshopId(Long workshopId)
    {
        this.workshopId = workshopId;
    }

    public Long getWorkshopId()
    {
        return workshopId;
    }
    public void setCostMonth(String costMonth)
    {
        this.costMonth = costMonth;
    }

    public String getCostMonth()
    {
        return costMonth;
    }
    public void setMonthTotalSalary(BigDecimal monthTotalSalary)
    {
        this.monthTotalSalary = monthTotalSalary;
    }

    public BigDecimal getMonthTotalSalary()
    {
        return monthTotalSalary;
    }
    public void setArtificialCost(BigDecimal artificialCost)
    {
        this.artificialCost = artificialCost;
    }

    public BigDecimal getArtificialCost()
    {
        return artificialCost;
    }
    public void setWelfare(BigDecimal welfare)
    {
        this.welfare = welfare;
    }

    public BigDecimal getWelfare()
    {
        return welfare;
    }
    public void setLaborDispatch(BigDecimal laborDispatch)
    {
        this.laborDispatch = laborDispatch;
    }

    public BigDecimal getLaborDispatch()
    {
        return laborDispatch;
    }
    public void setDepreciationExpense(BigDecimal depreciationExpense)
    {
        this.depreciationExpense = depreciationExpense;
    }

    public BigDecimal getDepreciationExpense()
    {
        return depreciationExpense;
    }
    public void setAttr1(String attr1)
    {
        this.attr1 = attr1;
    }

    public String getAttr1()
    {
        return attr1;
    }
    public void setAttr2(String attr2)
    {
        this.attr2 = attr2;
    }

    public String getAttr2()
    {
        return attr2;
    }
    public void setEnableFlag(String enableFlag)
    {
        this.enableFlag = enableFlag;
    }

    public String getEnableFlag()
    {
        return enableFlag;
    }
    public void setDeletedFlag(String deletedFlag)
    {
        this.deletedFlag = deletedFlag;
    }

    public String getDeletedFlag()
    {
        return deletedFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("workshopId", getWorkshopId())
            .append("costMonth", getCostMonth())
            .append("monthTotalSalary", getMonthTotalSalary())
            .append("artificialCost", getArtificialCost())
            .append("welfare", getWelfare())
            .append("laborDispatch", getLaborDispatch())
            .append("depreciationExpense", getDepreciationExpense())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .append("remark", getRemark())
            .append("attr1", getAttr1())
            .append("attr2", getAttr2())
            .append("enableFlag", getEnableFlag())
            .append("deletedFlag", getDeletedFlag())
            .toString();
    }
}
